export default class {
  constructor(obj) {
    let defaultValue = {
      department: '',
      researchSection: '',
      courseName: '',
      voteCount: 0,
      description: ''
    }
    let _obj = Object.assign(defaultValue, obj)
    this.department = _obj.department
    this.researchSection = _obj.researchSection
    this.courseName = _obj.courseName
    this.voteCount = _obj.voteCount
    this.description = _obj.description
  }
}
